<?php
	echo <<< buttons
	<a class="button" id="button_newactivate">发布新活动</a>
	<script type="text/javascript">
		$("#button_newactivate").click(function() {
			window.location.replace("view/createactivate.php");
		});
	</script>
buttons;
?>